import 'package:riverpod_annotation/riverpod_annotation.dart';

part 'theme_provider.g.dart';

@riverpod
class IsLightMode extends _$IsLightMode {
  @override
  bool build() {
    return true;
  }

  void switchMode() {
    state = !state;
  }
  void setMode(bool isLightMode){
    state = isLightMode;
  }
}
